<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    div {
      width: 100px;
      height: 100px;
      text-align: center;
      line-height: 100px;
    }

    .box1 {
      margin: 0 auto;
      background-color: pink;
    }

    .box2 {
      float: left;
      margin-left: 50%;
      background-color: blue;
    }

    .box3 {
      float: left;
      background-color: yellow;
      margin-left: -200px;
    }
  </style>
</head>

<body>
  <div class="box1">100</div>
  <div class="box2">200</div>
  <div class="box3">300</div>
</body>

</html>